package com.groupbuying.cheetah.order.integralOrder.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 商品订单项目表(子表)
 * 
 * @author vincentxin
 * @email vincentxin@aliyun.com
 * @date 2019-09-20 15:12:35
 * @des
 */
public class CommodityOrderItemDO implements Serializable {
	private static final long serialVersionUID = 1L;
	

	/**
	 * 订单子项目ID
	 */
	private String id;

	/**
	 * 订单编号
	 */
	private String orderId;

	/**
	 * 物流id
	 */
	private String orderLogisticsId;

	/**
	 * 商品id
	 */
	private String skuId;

	/**
	 * 商品名字
	 */
	private String skuName;

	/**
	 * 图片地址
	 */
	private String skuImage;

	/**
	 * 商品数量
	 */
	private Integer quantity;

	/**
	 * 原始单价(商品的原始单价)
	 */
	private BigDecimal originPrice;

	/**
	 * 购买单价(商品下单单价)
	 */
	private BigDecimal buyPrice;

	/**
	 * 最终单价(商品的最终金额)
	 */
	private BigDecimal presentPrice;

	/**
	 * 购买总金额（商品的原始下单总金额）
	 */
	private BigDecimal buyTotal;

	/**
	 * 优惠总金额
	 */
	private BigDecimal discountTotal;

	/**
	 * 最终总金额(最终实际金额)
	 */
	private BigDecimal presentTotal;

	/**
	 * 付款时间
	 */
	private Date paymentTime;

	/**
	 * 发货时间
	 */
	private Date deliveryTime;

	/**
	 * 收货时间
	 */
	private Date receiverTime;

	/**
	 * 关闭时间
	 */
	private Date closingTime;

	/**
	 * 是否退换货
	 */
	private Integer hasReturnExchange;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 发送方式
	 */
	private Integer deliveryType;

	/**
	 * 状态:待发货-WAIT_FOR_DELIVERY-1,已发货-DELIVERY-2,已收货-RECEIVED-3,换货中-EXCHANGING-30,换货成功-EXCHANGED-31,退货中-RETURNING-40,已退货-RETURNED-41
	 */
	private Integer status;

	/**
	 * 删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	private String isDelete;

	/**
	 * 设置：订单子项目ID
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * 获取：订单子项目ID
	 */
	public String getId() {
		return id;
	}
	/**
	 * 设置：订单编号
	 */
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	/**
	 * 获取：订单编号
	 */
	public String getOrderId() {
		return orderId;
	}
	/**
	 * 设置：物流id
	 */
	public void setOrderLogisticsId(String orderLogisticsId) {
		this.orderLogisticsId = orderLogisticsId;
	}
	/**
	 * 获取：物流id
	 */
	public String getOrderLogisticsId() {
		return orderLogisticsId;
	}
	/**
	 * 设置：商品id
	 */
	public void setSkuId(String skuId) {
		this.skuId = skuId;
	}
	/**
	 * 获取：商品id
	 */
	public String getSkuId() {
		return skuId;
	}
	/**
	 * 设置：商品名字
	 */
	public void setSkuName(String skuName) {
		this.skuName = skuName;
	}
	/**
	 * 获取：商品名字
	 */
	public String getSkuName() {
		return skuName;
	}
	/**
	 * 设置：图片地址
	 */
	public void setSkuImage(String skuImage) {
		this.skuImage = skuImage;
	}
	/**
	 * 获取：图片地址
	 */
	public String getSkuImage() {
		return skuImage;
	}
	/**
	 * 设置：商品数量
	 */
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	/**
	 * 获取：商品数量
	 */
	public Integer getQuantity() {
		return quantity;
	}
	/**
	 * 设置：原始单价(商品的原始单价)
	 */
	public void setOriginPrice(BigDecimal originPrice) {
		this.originPrice = originPrice;
	}
	/**
	 * 获取：原始单价(商品的原始单价)
	 */
	public BigDecimal getOriginPrice() {
		return originPrice;
	}
	/**
	 * 设置：购买单价(商品下单单价)
	 */
	public void setBuyPrice(BigDecimal buyPrice) {
		this.buyPrice = buyPrice;
	}
	/**
	 * 获取：购买单价(商品下单单价)
	 */
	public BigDecimal getBuyPrice() {
		return buyPrice;
	}
	/**
	 * 设置：最终单价(商品的最终金额)
	 */
	public void setPresentPrice(BigDecimal presentPrice) {
		this.presentPrice = presentPrice;
	}
	/**
	 * 获取：最终单价(商品的最终金额)
	 */
	public BigDecimal getPresentPrice() {
		return presentPrice;
	}
	/**
	 * 设置：购买总金额（商品的原始下单总金额）
	 */
	public void setBuyTotal(BigDecimal buyTotal) {
		this.buyTotal = buyTotal;
	}
	/**
	 * 获取：购买总金额（商品的原始下单总金额）
	 */
	public BigDecimal getBuyTotal() {
		return buyTotal;
	}
	/**
	 * 设置：优惠总金额
	 */
	public void setDiscountTotal(BigDecimal discountTotal) {
		this.discountTotal = discountTotal;
	}
	/**
	 * 获取：优惠总金额
	 */
	public BigDecimal getDiscountTotal() {
		return discountTotal;
	}
	/**
	 * 设置：最终总金额(最终实际金额)
	 */
	public void setPresentTotal(BigDecimal presentTotal) {
		this.presentTotal = presentTotal;
	}
	/**
	 * 获取：最终总金额(最终实际金额)
	 */
	public BigDecimal getPresentTotal() {
		return presentTotal;
	}
	/**
	 * 设置：付款时间
	 */
	public void setPaymentTime(Date paymentTime) {
		this.paymentTime = paymentTime;
	}
	/**
	 * 获取：付款时间
	 */
	public Date getPaymentTime() {
		return paymentTime;
	}
	/**
	 * 设置：发货时间
	 */
	public void setDeliveryTime(Date deliveryTime) {
		this.deliveryTime = deliveryTime;
	}
	/**
	 * 获取：发货时间
	 */
	public Date getDeliveryTime() {
		return deliveryTime;
	}
	/**
	 * 设置：收货时间
	 */
	public void setReceiverTime(Date receiverTime) {
		this.receiverTime = receiverTime;
	}
	/**
	 * 获取：收货时间
	 */
	public Date getReceiverTime() {
		return receiverTime;
	}
	/**
	 * 设置：
	 */
	public void setClosingTime(Date closingTime) {
		this.closingTime = closingTime;
	}
	/**
	 * 获取：
	 */
	public Date getClosingTime() {
		return closingTime;
	}
	/**
	 * 设置：是否退换货
	 */
	public void setHasReturnExchange(Integer hasReturnExchange) {
		this.hasReturnExchange = hasReturnExchange;
	}
	/**
	 * 获取：是否退换货
	 */
	public Integer getHasReturnExchange() {
		return hasReturnExchange;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	/**
	 * 设置：备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * 获取：备注
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * 设置：发送方式
	 */
	public void setDeliveryType(Integer deliveryType) {
		this.deliveryType = deliveryType;
	}
	/**
	 * 获取：发送方式
	 */
	public Integer getDeliveryType() {
		return deliveryType;
	}
	/**
	 * 设置：状态:待发货-WAIT_FOR_DELIVERY-1,已发货-DELIVERY-2,已收货-RECEIVED-3,换货中-EXCHANGING-30,换货成功-EXCHANGED-31,退货中-RETURNING-40,已退货-RETURNED-41
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：状态:待发货-WAIT_FOR_DELIVERY-1,已发货-DELIVERY-2,已收货-RECEIVED-3,换货中-EXCHANGING-30,换货成功-EXCHANGED-31,退货中-RETURNING-40,已退货-RETURNED-41
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * 设置：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}
	/**
	 * 获取：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public String getIsDelete() {
		return isDelete;
	}

    @Override
    public String toString() {
        return "CommodityOrderItemDO{" +
									                    "id=" + id +
					                										",orderId=" + orderId +
					                										",orderLogisticsId=" + orderLogisticsId +
					                										",skuId=" + skuId +
					                										",skuName=" + skuName +
					                										",skuImage=" + skuImage +
					                										",quantity=" + quantity +
					                										",originPrice=" + originPrice +
					                										",buyPrice=" + buyPrice +
					                										",presentPrice=" + presentPrice +
					                										",buyTotal=" + buyTotal +
					                										",discountTotal=" + discountTotal +
					                										",presentTotal=" + presentTotal +
					                										",paymentTime=" + paymentTime +
					                										",deliveryTime=" + deliveryTime +
					                										",receiverTime=" + receiverTime +
					                										",closingTime=" + closingTime +
					                										",hasReturnExchange=" + hasReturnExchange +
					                										",createTime=" + createTime +
					                										",updateTime=" + updateTime +
					                										",remark=" + remark +
					                										",deliveryType=" + deliveryType +
					                										",status=" + status +
					                										",isDelete=" + isDelete +
					                				"}";
    }
}
